package com.school.service;

import com.school.controller.vo.IndexCarouselVO;
import com.school.entity.Carousel;
import com.school.util.PageQueryUtil;
import com.school.util.PageResult;

import java.util.List;

public interface CarouselService {
    PageResult getCarouselPage(PageQueryUtil pageQueryUtil);

    String saveCarousel(Carousel carousel);

    Carousel getCarouselById(Integer id);

// 更新轮播图
    String updateCarousel(Carousel carousel);

    String deleteCarousel(Integer[] ids);

    List<IndexCarouselVO> getCarouselsForIndex(int number);
}

